package com.czl.elm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.czl.elm.domain.Shop;
import com.czl.elm.domain.ShopPreferential;
import com.czl.elm.domain.Shopdetails;
import com.czl.elm.util.ActionResult;
import com.czl.elm.util.RespPageBean;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zuoleiChen
 * @since 2021-05-21
 */
public interface IShopService extends IService<Shop> {

    RespPageBean selectAllShop(Integer currentPage, Integer size);

    Shopdetails selectShopDetails(Integer shopid);

    int addShopDetails(Shopdetails shopdetails);

    Map<String, Object> selectShopMenu(Integer shopid);


    Shop selectShopBasic(Integer shopid);

    ActionResult selectPreferential(Integer shopid);

    void t_addShopPreferential(ShopPreferential shopPreferential);

    ActionResult t_addRamdomFood(Integer shopId, Integer number);

    ActionResult t_addRamdomFoodMenu(Integer shopId);
}
